package com.bluesky.drcp.persistence.dao.hibernate;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.bluesky.drcp.business.Log;
import com.bluesky.drcp.persistence.dao.LogDao;

public class LogDaoImpl extends HibernateDaoSupport implements LogDao {

	public void insert(Log o) {
		getHibernateTemplate().save(o);
	}

	public Log getById(String id) {
		return (Log) getHibernateTemplate().get(Log.class, id);

	}

}
